package com.lse_api.mapper;

import com.lse_api.entity.GroupList;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 项目组 Mapper 接口
 * </p>
 *
 * @author 祁雪
 * @since 2020-05-11
 */
public interface GroupListMapper extends BaseMapper<GroupList> {

    /**
     * 读取用户加入的项目组
     *
     * @param userId 用户ID
     * @return
     */
    public List<GroupList> getGroupListByJoin(@Param("userId") String userId);
}
